import 'package:hotpot/generated/json/base/json_field.dart';
import 'package:hotpot/generated/json/product_ribbon.g.dart';
import 'dart:convert';

@JsonSerializable()
class ProductRibbon {

	int? id;
	String? html;
	@JSONField(name: "bg_color")
	String? bgColor;
	@JSONField(name: "text_color")
	String? textColor;
	// @JSONField(name: "html_class")
	// String? htmlClass;
	// @JSONField(name: "product_tag_ids")
	// List<dynamic>? productTagIds;
	// @JSONField(name: "__last_update")
	// String? sLastUpdate;
	// @JSONField(name: "display_name")
	// String? displayName;
	// @JSONField(name: "create_uid")
	// List<int>? createUid;
	// @JSONField(name: "create_date")
	// String? createDate;
	// @JSONField(name: "write_uid")
	// List<int>? writeUid;
	// @JSONField(name: "write_date")
	// String? writeDate;
  
  ProductRibbon();

  factory ProductRibbon.fromJson(Map<String, dynamic> json) => $ProductRibbonFromJson(json);

  Map<String, dynamic> toJson() => $ProductRibbonToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}